#pragma once 
#include "trt_define.h"

_TRT_INFER_BEGIN

class ElapsedTimer
{
public:
    ElapsedTimer();
    ~ElapsedTimer();
    void start(void *stream = nullptr);
    float stop(void *stream = nullptr);

private:
    void *start_;
    void *stop_;
    void *stream_;
};


_TRT_INFER_END